package com.b.service;


import com.b.domain.Danmu;
import com.b.domain.DynamicComment;
import com.b.vo.CommentMessage;
import com.b.vo.DynamicCommentVo;

import java.util.List;

public interface DynamicCommentService {
    List<DynamicCommentVo> findByDynamic(Integer dynamicId);

    List<DynamicCommentVo> findRepliesByParentId(Integer parentId);

    List<DynamicCommentVo> findCommentChain(Integer rootCommentId);

    void addComment(DynamicComment comment);

    void refresh(CommentMessage message);

    List<DynamicComment> getAll();

    boolean importAll();
}
